﻿using System;
using System.Collections.Generic;

namespace Ya.Test
{
    public static class Program
    {
        public static List<Func<string>> FuncsContainer = new List<Func<string>>();
        static void Main(string[] args)
        {
            Funcs.InitFuncs();
            FuncsContainer.ForEach(m =>
            {
                Console.WriteLine(m.Target.GetType().Namespace);
                Console.WriteLine(m.Method.DeclaringType.FullName);
                var result =  m.Invoke();
                Console.WriteLine(result);
            });
            Console.WriteLine("Hello World!");
            Console.ReadKey();
        }
    }
}
